Component({
    properties: {
        supplier: {
            type: null
        },
        showList: {
            type: null
        }
    },
    data: {
        logo: ""
    },
    lifetimes: {
        attached: function() {
            this.setData({
                logo: wx.getStorageSync("yz_basic_info").globalParameter.shop_logo
            });
        }
    },
    methods: {
        closeTap: function() {
            this.triggerEvent("close");
        },
        goUrl: function(e) {
            "supplier" == e.currentTarget.dataset.key ? wx.navigateTo({
                url: "/packageA/member/supplier/SupplierShop/SupplierShop?id=" + this.data.supplier.id
            }) : wx.navigateTo({
                url: "/packageG/index/index"
            });
        }
    }
});